package com.maomao.maomaochong_i.quanxing.PhoneData.SendFactory.Factory;

import com.maomao.maomaochong_i.R;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * Created by Mrma on 17.6.7.
 */

public class Phoneaccessories implements GetList {

    private ArrayList<String> biaoti = new ArrayList<>();//收集的名字
    private ArrayList<String> jiage = new ArrayList<>();//价格
    private ArrayList<Integer> tupian = new ArrayList<>();//图片
    private ArrayList<ArrayList> list = new ArrayList<>();
    public Phoneaccessories(){
        String[] mingzhi = {"配件", "iphone5s", "iphone6", "iphone6Plue", "iphone6s", "iphone6sPlue"
                , "iphoneSE", "iphone7", "iphone7Plue"};
        Collections.addAll(biaoti, mingzhi);
        String[] money = {"1", "2", "3", "4", "5", "6", "7", "8", "9"};
        Collections.addAll(jiage, money);
        Integer[] tu = {R.mipmap.bea1, R.mipmap.bea2, R.mipmap.bea3, R.mipmap.bea4,
                R.mipmap.bea5, R.mipmap.bea6, R.mipmap.bea7, R.mipmap.bea8, R.mipmap.bea9};
        Collections.addAll(tupian, tu);
    }

    @Override
    public List getList() {
        list.add(biaoti);
        list.add(jiage);
        list.add(tupian);
        return list;
    }
}
